<!-- 其他 -->
<template>
	<view>
		<view class="add-vew flex p-t-20 p-b-20">
			<u-icon name="plus-circle" size="30" color="#999" @click="toParameter"></u-icon>
		</view>
		<view class="list-view" v-if="listData.length">
			<view class="cell-item flex">
				<view class="flex content">
					<view class="name">
						测试测试测试测试测试
					</view>
					<view class="input">
						<u--input
						    border="none"
						    v-model="value"
						  ></u--input>
					</view>
				</view>
				<u-icon name="arrow-down" color="#999" size="20"></u-icon>
			</view>
		</view>
		<!-- <view class="fixed-btn">
			<u-button text="保存" type="primary" shape="circle" color="linear-gradient(to right, rgb(64, 158, 255), rgb(64, 158, 255), rgb(96, 180, 246), rgb(96, 180, 246))" @click="onSave"></u-button>
		</view> -->
	</view>
</template>

<script>
	export default {
		name: 'Others',
		data() {
			return {
				value: '',
				listData: []
			}
		},
		methods: {
			onSave() {
				uni.showToast({
					title: '加工商不能为空',
					icon: 'none'
				})
			},
			// 跳转选择参数
			toParameter() {
				this.$Router.push({
					name: 'inventoryQuantityConverterParameter'
				})
			},
		},
		mounted() {
			
		}
	}
	
</script>

<style lang='scss' scoped>
	.add-vew {
		justify-content: center;
	}
	.cell-item {
		background-color: #fafafa;
		margin-bottom: 1rpx;
		height: 100rpx;
		align-items: center;
		padding-right: 30rpx;
		.content {
			flex: 1;
			align-items: center;
			.name {
				width: 140rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				color: #999;
				text-align: right;
			}
			.input {
				flex: 1;
				padding: 0 30rpx;
			}
		}
	}

	.fixed-btn {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 20rpx 30rpx 20rpx;
		background: #fafafa;
	}
	
</style>